<template>
    <div>
        <div class="topBtn">
            <div class="sizeBig"><span>数据查询</span></div>
        </div>
        <div class="message">
            <p class="character">对车间进行增改查等常规管理操作。<span class="skip">查看帮助文档</span></p>
        </div>
        <div class="inputcontent">
            <div style="position: relative;width:435px;margin:0 auto; ">
                <span>请输入SN条码：</span> 
                <el-input v-model="search" placeholder="请输入关键字检索" class="inSearch" @keydown.native.enter="init"></el-input>
                <!-- <div class="iconSearch"></div> -->
            </div>
        </div>
        <div class="tableContent">
            <Table></Table>
        </div>
    </div>
</template>

<script>
import Table from './components/queryTable'
export default {
    name:"query",
    data(){
        return{
            search:'',
        }
    },
    components:{
        Table
    }
}
</script>

<style scoped lang="scss">
.topBtn{
    height: 60px;
    width: 98%;
    margin: 0 auto;
    line-height: 60px;
    display: flex;
    justify-content: space-between;
}
.message{
    width:98%;
    margin: 0 auto;
    height:60px;
    background:rgba(255,255,255,1);
    border:1px solid rgba(238,238,238,1);
    font-size:14px;
    .character{
        margin: 20px 0 21px 20px;
        color:#999999;
        .skip{
            color: #0095FF;
            margin-left:10px;
            cursor:pointer; 
        }
    }
}
.inputcontent{
    width:98%;
    margin: 0 auto;
    text-align: center;
    height: 80px;
    padding-top:21px;
    box-sizing: border-box; 
    .iconSearch{
        position: absolute;
        left: 395px;
        top:10px;
        width:20px;
        height: 20px;
        background-image: url('./image/搜索.png') ;
        background-repeat: no-repeat;
        cursor:pointer; 
    }
    .inSearch{
        width:308px;
        height:40px;
    }
}
.tableContent{
    width:98%;
    margin: 0 auto;
}
</style>
